package restaurant.gui;

import javax.swing.ImageIcon;

class ImageLoader {
	public static ImageIcon playIcon, stopIcon, nextIcon;
	public static ImageIcon tableEmptyIcon, tableFullIcon, customerIcon, waiterExpertIcon, waiterIcon, 
								tileIcon, doorIcon, kitchenIcon;
	public static int iconSize = 60;
	
	static {
		playIcon = new ImageIcon( new ImageIcon("img/play.png").getImage().getScaledInstance(30,30,30));
		stopIcon = new ImageIcon( new ImageIcon("img/stop.png").getImage().getScaledInstance(30,30,30));
		nextIcon = new ImageIcon( new ImageIcon("img/next.png").getImage().getScaledInstance(30,30,30));
		
		tableEmptyIcon = new ImageIcon(new ImageIcon("img/emptyTable.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tableFullIcon = new ImageIcon(new ImageIcon("img/fullTable.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		customerIcon = new ImageIcon(new ImageIcon("img/customer.gif").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		waiterExpertIcon = new ImageIcon(new ImageIcon("img/expert.gif").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		waiterIcon = new ImageIcon(new ImageIcon("img/waiter.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tileIcon = new ImageIcon(new ImageIcon("img/tile.jpeg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		doorIcon = new ImageIcon(new ImageIcon("img/porta.jpg").getImage().getScaledInstance(iconSize, iconSize, iconSize));
		kitchenIcon = new ImageIcon(new ImageIcon("img/vacuum.jpeg").getImage().getScaledInstance(iconSize, iconSize, iconSize));
	}
}
